package trouger.dmt;

/**
 * An index into a source table column.
 * Reference to sourceTable[sourceIndex].column[columnIndex].
 * In application of this class, both indices are always one-based.
 */
class FieldIndexPair{
	private int sourceIndex;
	private int columnIndex;
	public void setSourceIndex(int sourceIndex) {
		this.sourceIndex = sourceIndex;
	}
	public int getSourceIndex() {
		return sourceIndex;
	}
	public void setColumnIndex(int columnIndex) {
		this.columnIndex = columnIndex;
	}
	public int getColumnIndex() {
		return columnIndex;
	}
	public FieldIndexPair(int sourceIndex, int columnIndex){
		this.setSourceIndex(sourceIndex);
		this.setColumnIndex(columnIndex);
	}
}
